package com.github.xuchen93.forlaozeng.opreate_2;

/**
 * @author xuchen.wang
 */
public class Subject_5 {

	public static void main(String[] args) {
		for (int i = 2; i < 100; i++) {
			if (isZhiShu(i)){
				System.out.println(i);
			}
		}
	}

	public static boolean isZhiShu(int i){

		for (int j = 2; j <= i/2; j++) {
			if (i%j==0){
				return false;
			}
		}
		return true;
	}
}
